

let that
export default {
    data() {
        return {

        }
    },
    methods: {
        setData(data) {
            if (Object.prototype.toString.call(data) === '[object Object]') {
                for(let key in data) {
                    // console.log(key, eval(`this.${key}`), 'key')
                    eval(`this.${key} = data[key]`)
                }
            }
        },
        pointReport() {
            console.log('sksksk')
        }
    },
    mounted() {
        that = this
    }
}
